#pragma once
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "DeviceConfig.h"

namespace DYGraphics
{
	class _declspec(dllexport) Device
	{
	public:
		static bool Init(const DeviceConfig& config);
		static void SetClearColor(float r, float g, float b, float a);
		static void SetViewport(float x, float y, float width, float height);
		static void Loop();
		static void Destroy();
		// Input Event
		static void GetMousePos(float& x, float& y);
	};
}